package dk.almbrand.microservice.model;

import com.google.gson.annotations.Expose;

public class ResponseEvent<T> extends Event<T> {
    @Expose
    int resultCode = 0;
    @Expose
    String desc = "";
    
    public ResponseEvent() {
    }
    
    public ResponseEvent(int resultCode, String desc) {
        this.resultCode = resultCode;
        this.desc = desc;
    }

    public void setResultCode(int resultCode) {
        this.resultCode = resultCode;
    }

    public int getResultCode() {
        return resultCode;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public String getDesc() {
        return desc;
    }
}
